using System;
using System.Collections.Generic;

namespace Demo.Business
{
    public class Family:IEntity
    {
        public Family():this(Guid.NewGuid()){}
        public Family(Guid id)
        {
            Id = id;
        }
        public virtual Guid Id { get; private set; }
        public virtual Person Husband { get; set; }
        public virtual Person Wife { get; set; }
        public IEnumerable<Person> Children { get; set; }
    }
}